@extends('mobile.common.main')
@section('container')
<div class="tw-apply">
    <div class="banner">
        <fieldset>
            <legend>合伙人共创计划</legend>
            <div class="txt j_txt">项目共创 &nbsp; 利益共享 &nbsp; 共同发展</div>
            <div class="txt j_txt" style="display: none">协同合作 &nbsp; 资源扶持 &nbsp; 项目收益</div>
        </fieldset>
        <a class="btn j_join">加入我们</a>
        <img src="/img/m/partner/banner.jpg" alt="">
    </div>
    <div class="j_con">
        <div class="img-contain">
            <div class="contain">
                <div class="tit">碳银合作模式</div>
            </div>
            <img src="/ace/181025/ptn-m1.jpg" alt="">
        </div>
        <div class="img-contain" style="background-color: #f7fbfe">
            <div class="contain">
                <div class="tit">碳银支持</div>
            </div>
            <img src="/ace/181025/ptn-m2.jpg" alt="">
        </div>
    </div>
</div>
<div class="pop j_pop">
    <div class="pop-bg j_bg"></div>
    <div class="pop-qrcode">
        <div class="close j_close"></div>
        <div class="tit">扫码下载碳银 · 碳盈APP</div>
        <div class="iphone">
            <div class="img"><img src="/ace/img/qrcode-ty.jpg" alt=""></div>
        </div>
    </div>
</div>
@endsection
@section('script')
<script>
    (function ($) {
        $(function () {
            $(".j_join").on("click", function () {
                $(".j_pop").fadeIn(200)
            });
            $(".j_close,.j_bg").on("click", function () {
                $(".j_pop").fadeOut(200)
            });
            $('.j_bar a').on('click', function () {
                var $t = $(this);
                var i = $('.j_bar a').index($t);
                if(!$t.hasClass('cur')){
                    $('.j_con').css('display','none').eq(i).css('display','block');
                    $('.j_txt').css('display','none').eq(i).css('display','block');
                    $('.j_bar a.cur').removeClass('cur');
                    $t.addClass('cur');
                }
            });
        });
    })(Zepto);
</script>
@endsection
